import QtQuick
import QtQuick3D
import QtQuick3D.Physics
import Quick3DAssets.CraftTable as Base
import Utils
Base.CraftTable{
    id:root

    IdHacker{
        property Texture home_tex_home_RGB_png_texture
        property PrincipledMaterial copper_Ore_material
        Component.onCompleted: {
            home_tex_home_RGB_png_texture.magFilter = Texture.Nearest
            copper_Ore_material.roughness = 1.0
        }

        target:root
    }

    Node {
        id: __materialLibrary__
    }
    StaticRigidBody{
        collisionShapes: BoxShape{
            extents: Qt.vector3d(100,100,100)
        }
    }

    InteractiveTrigger{
        type:"craftTable"
        descript:"使用工作台"
        host:root
        collisionShapes: BoxShape{
            extents: Qt.vector3d(120,120,120)
        }

        onTriggered: {
            console.log("使用工作台")
        }
    }


}
